<?php 
    $listaDocente = $this->em->createQuery('SELECT f FROM models\funcionario f WHERE f.statusFunc = 1 AND f.docente = 1');
    
    foreach ($listaDocente->getResult() as $value) {
     
     echo '<option value="'.$value->getFuncionarioId().'" >'.$value->getNomeFunc().'</option>';
 }
 ?>

